convergence of beta and gamma functions